//
//  TLMeBalanceTableViewCell.m
//  WXReader
//
//  Created by huaya on 2025/3/18.
//  Copyright © 2025 Andrew. All rights reserved.
//

#import "TLMeBalanceTableViewCell.h"

@interface TLMeBalanceTableViewCell ()
@property (weak, nonatomic) IBOutlet UIButton *rechargeBtn;
@property (weak, nonatomic) IBOutlet UIView *bgView;

@end

@implementation TLMeBalanceTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.bgView.layer.cornerRadius = 8;
    self.rechargeBtn.layer.masksToBounds = YES;
    self.rechargeBtn.layer.cornerRadius = 34/2;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)detailsAction:(id)sender {
    if (self.detailsBlock) {
        self.detailsBlock();
    }
}
- (IBAction)rechargeAction:(id)sender {
    if (self.rechargeBlock) {
        self.rechargeBlock();
    }
}

@end
